<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh-cn">
<head>
<base href="<%=basePath%>">

<title>添加用户信息</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>


</head>
<body>
	<div class="panel admin-panel">
		<div class="panel-head" id="add">
			<strong><span class="icon-pencil-square-o"></span>增加用户</strong>
		</div>
		<div class="body-content">
			<form method="post" class="form-x" action="UserAction_register">
				<div class="clear"></div>
				<div class="form-group">
					<div class="label">
						<label>用户编号：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" name="userId" required="true"
							value="" data-validate="member:只能为数字"/>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>用户名称：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" name="username" required="true"
							value="" data-validate="member:只能为数字" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>用户密码：</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" name="password" required="true"
							value="" data-validate="member:只能为数字" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>用户身份：</label>
					</div>
					<div class="field">
						<label><input name="identity" type="radio" value="1" required="true">学生 &emsp;&emsp;&emsp;</label> 
						<label><input name="identity" type="radio" value="2">老师&emsp;&emsp;&emsp;</label>
						<label><input name="identity" type="radio" value="0">管理员 </label>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label></label>
					</div>
					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit" >
							提交</button>
						<button type="reset" class="button border-red">重置</button>	
					</div>
				</div>
			</form>
		</div>
	</div>

</body>
</html>
